<div style="padding-right:4%">
    <form id="se_form" method="post" style="min-width: 850px;">
        <h2 class="title">单点关联搜索</h2>
        <table id="se_table" class="related_search">
            <tr style="height: 20px"></tr>
            <tr class="se_tr" style="background-color: #f1f1f1;">
                <td class="se_title" style="color: #444;width: 14%">出发主体：</td>
                <td class="se_input" style="width: 35%"></td>
                <td style="width: 2%"></td>
                <td class="se_title" style="width: 14%"></td>
                <td class="se_input" style="width: 35%"></td>
            </tr>
            <tr class="se_tr">
                <td class="se_title">主体类型：</td>
                <td class="se_select" colspan="4">
                    <input class="mini-radiobuttonlist" textField="text" valueField="value" id="selecttype"
                           name="selecttype" repeatItems="9" data=se_type value="1" required/>
                </td>
            </tr>
            <tr class="se_tr  selecttype" id="combox1">
                <td class="se_title">企业名称：</td>
                <td class="se_input">
                    <input name="ENTNAME" class="mini-autocomplete" valueField="ENTNAME"
                           textField="ENTNAME" popupEmptyText="查无数据" loadingText="加载中..."
                           vtype="rangeLength:2,100" url="/entmohu/" emptyText="企业全称">
                </td>
                <td></td>
                <td class="se_title"></td>
                <td class="se_input"></td>
            </tr>
            <tr class="se_tr  selecttype" id="combox2" style="display: none;">
                <td class="se_title">注册号：</td>
                <td class="se_input">
                    <input name="REGNO" class="mini-textbox" emptyText="完整注册号" vtype="rangeLength:8,32">
                <td></td>
                <td class="se_title"></td>
                <td class="se_input"></td>
            </tr>
            <tr class="se_tr  selecttype" id="personbox1" style="display: none;">
                <td class="se_title">身份证号：</td>
                <td class="se_input">
                    <input name="CERNO" class="mini-textbox" emptyText="完整身份证号" vtype="rangeLength:15,18"
                           onvalidation="onIDCardsValidation">
                </td>
                <td></td>
                <td class="se_title"></td>
                <td class="se_input"></td>
            </tr>
            <tr class="se_tr  selecttype" id="personbox2" style="display: none;">
                <td class="se_title">企业名称：</td>
                <td class="se_input">
                    <input name="ENTNAME1" class="mini-autocomplete" valueField="ENTNAME"
                           textField="ENTNAME" popupEmptyText="查无数据" loadingText="加载中..."
                           vtype="rangeLength:2,100" url="/entmohu/" emptyText="企业全称">
                </td>
                <td></td>
                <td class="se_title">姓名：</td>
                <td class="se_input">
                    <input name="PNAME" class="mini-textbox" emptyText="完整姓名" vtype="minLength:2">
            </tr>
            <tr id="errorText">
                <td></td>
                <td class="errorText">没有找到相关主体</td>
                <td></td>
                <td></td>
                <td></td>
            </tr>
            <tr style="height: 20px"></tr>
            <tr class="se_tr" style="background-color: #f1f1f1">
                <td class="se_title" style="color: #444;">关系过滤：</td>
                <td class="se_input"></td>
                <td></td>
                <td class="se_title"></td>
                <td class="se_input"></td>
            </tr>
            <tr class="se_tr">
                <td class="se_title">关联方向</td>
                <td class="se_select" colspan="4">
                    <input class="mini-radiobuttonlist" textField="text" valueField="value"
                           name="relationdirection" repeatItems="9" data=se_rddata value="1"/>
                </td>
            </tr>

            <tr style="height: 20px"></tr>
            <tr class="se_tr" style="background-color: #f1f1f1">
                <td class="se_title" style="color: #444;">节点过滤：</td>
                <td class="se_input"></td>
                <td></td>
                <td class="se_title"></td>
                <td class="se_input"></td>
            </tr>
            <tr class="se_tr">
                <td class="se_title">所在地区：</td>
                <td class="se_select">
                    {% include "element/saas/includes/input_region.html" %}
                </td>
                <td></td>
                <td class="se_title">行业分类：</td>
                <td class="se_select">
                    {% include "element/saas/includes/input_nic.html" %}
                </td>
            </tr>
            <tr class="se_tr">
                <td class="se_title">企业状态：</td>
                <td class="se_select">
                    <input name="ENTSTATUS" class="mini-combobox" showNullItem="true"
                           url="/static/element/saas/form_render/entstatus.json"/>
                </td>
                <td></td>
                <td class="se_title">注册资金：</td>
                <td class="se_range">
                    <input name="REGCAP1" class="mini-textbox" style="width:45%;float:left;"
                           vtype="range:0,10000000" emptyText="万元"/>
                    <span class="se_line">一</span>
                    <input name="REGCAP2" class="mini-textbox" style="width:45%;float:left;"
                           vtype="range:0,10000000" emptyText="万元"/>
                </td>
            </tr>
            <tr class="se_tr">
                <td class="se_title">开业日期：</td>
                <td class="se_range">
                    <input name="ESDATE1" class="mini-datepicker" allowinput="false"
                           ondrawdate="onDrawDate" style="width:45%;float:left;"/>
                    <span class="se_line">一</span>
                    <input name="ESDATE2" class="mini-datepicker" allowinput="false"
                           ondrawdate="onDrawDate" style="width:45%;float:left;"/>
                </td>
                <td></td>
                <td></td>
                <td></td>
            </tr>
            <tr style="height: 20px"></tr>
        </table>
        <div class="btns">
            <button type="button" class="am-btn am-btn-default" id="clearbtn">清除</button>
            <button type="button" class="am-btn am-btn-secondary" id="searchbtn" onclick="Adsearch()">搜索
            </button>
        </div>
    </form>
</div>
